package com.nervenets.web.controller.building;

import com.nervenets.web.controller.TokenParams;
import com.nervenets.web.hibernate.domain.BuildingAlbum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Positive;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class UpdateAlbumsParams extends TokenParams {
    @ApiModelProperty(value = "楼盘ID",required = true)
    @Positive(message = "楼盘ID不能为空")
    private long buildingId;
    @ApiModelProperty(value = "楼盘相册")
    private List<BuildingAlbum> albums;
}
